<?php
include_once 'data_access.php';
include_once 'student.php';
$connect=new database_access();
$connect->connect();
$student=new student();
$student->personalnumber=$_POST['id'];
$student->password=$_POST['student_password'];
$student->Updatepass($student->personalnumber,$student->password);
header('location: login.php');
?>